package com.woniuxy.rdbc.service;

import com.woniuxy.rdbc.dto.UserDto;
import com.woniuxy.rdbc.entity.SysUser;
import com.woniuxy.rdbc.vo.UserVo;

import java.util.List;

public interface UserService {
    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    SysUser SelectByTelAndPsw(UserDto userDto);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    List<UserVo> selectByLike(UserDto userDto);

    SysUser selectByTel(String tel);
}
